import { defineStore } from 'pinia';
import { useCesiumPoints } from '@/hooks/useCesiumPoints';

export const useGasSearchStore = defineStore('gasSearch', () => {
  const { clearAllPoints } = useCesiumPoints();
  const dataSource = ref([]);
  const initPoints = () => {
    clearAllPoints(dataSource.value);
  };
  return {
    dataSource,
    initPoints
  };
});
